package pl.edu.agh.ros.proxy.model;

import java.io.Serializable;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class KeyPair implements Serializable {

	private static final long serialVersionUID = 1L;

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long id;

	@Persistent
	private String providerAppKey;

	@Persistent
	private String clientAppKey;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getProviderAppKey() {
		return providerAppKey;
	}

	public void setProviderAppKey(String providerAppKey) {
		this.providerAppKey = providerAppKey;
	}

	public String getClientAppKey() {
		return clientAppKey;
	}

	public void setClientAppKey(String clientAppKey) {
		this.clientAppKey = clientAppKey;
	}

}
